//
//  ICEmpInfoModel.h
//  ICome
//
//  Created by zhangrongwu on 16/3/22.
//  Copyright © 2016年 iCom. All rights reserved.
//  员工详细信息model

#import <Foundation/Foundation.h>
#import "ICHeaderFile.h"
#import "ICOrganizationViewController.h"
@interface ICEmpInfoModel : NSObject
@property (nonatomic, strong)NSString *account;
@property (nonatomic, strong)NSString *eId;
@property (nonatomic, strong)NSString *eName;
@property (nonatomic, strong)NSString *pId;
@property (nonatomic, strong)NSString *email;
@property (nonatomic, strong)NSString *jobTitle;
@property (nonatomic, strong)NSString *oId;
@property (nonatomic, strong)NSString *oName;
@property (nonatomic, strong)NSString *phone;
@property (nonatomic, strong)NSString *mobile;
@property (nonatomic, strong)NSString *companyName;
@property (nonatomic, assign)NSInteger  count; // 组织架构中的人
@property (nonatomic, strong)NSString *photoId; // 员工头像
@property (nonatomic, strong)NSMutableArray *allOrgList; // 职位列表
@property (nonatomic, strong)NSString * oLongName;//头尾的长组织名


/** 常用联系人 被删除 又存在于群聊中 作隐藏操作*/
@property (nonatomic, strong)NSString *hide;

@property (nonatomic, assign)NSInteger rowLevel;

@property (nonatomic, assign)BOOL isLastRootNode; // 是否为最后一层根节点

@property (nonatomic, assign)BOOL isOpen;  // 打开处理

@property (nonatomic, assign)BOOL disable;
//选择
@property (nonatomic, assign)BOOL select;

@property (nonatomic, assign)BOOL isUser;
// 用于添加用户时 已经存在的用户
@property (nonatomic, assign)BOOL isExistingUser;

@property (nonatomic, assign)NSInteger CtrStyle;

@property (nonatomic, assign)NSInteger kkGroupType;

- (instancetype)initWithDict:(NSDictionary *)dict;

- (BOOL)isOrg;

@end
